<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			//let m = uni.getMenuButtonBoundingClientRect()
			console.log(this)
			// 小程序胶囊图标 中间位置距离顶部 高度
			//uni.$safeTopHeight = parseInt(m.top+(m.height/2))
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";

	/*每个页面公共css */
	::-webkit-scrollbar {
		display: none;
	}

	.add-box-shadow {
		padding: 10rpx 20rpx;
		margin: 20rpx 20rpx;
		background-color: #fff;
		border-radius: 14rpx;
		box-shadow: 2rpx 4rpx 2rpx 2rpx rgb(224, 224, 224);
	}

	view {
		box-sizing: border-box;
	}
</style>